package com.mofeng.myshop.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mofeng.myshop.domain.po.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发货地址
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("`tb_address`")
@Schema(name = "Address对象", description = "发货地址")
public class Address extends BaseEntity {
    @Schema(description = "项目ID")
    private Long projectId;

    @Schema(description = "端口")
    @TableField("`port`")
    private String port;

    @Schema(description = "地图类型  0 PVE   1 PVP")
    @TableField("`map_type`")
    private String mapType;
}
